package com.ejustcn.vaadinecharts.chart.component;
/**
 * 图例对象
 */
public class Legend {
	public static final String ORIENT_HORIZONTAL="horizontal";
	public static final String ORIENT_VERTICAL="vertical";
	
	public String orient=ORIENT_HORIZONTAL;
	
	/*below x,y can be number or string
	 * public x
	 * public y
	 */
		
	/*
	 *rgba(0,0,0,0 
	 */
	public String backgroundColor=null;
	
	public String borderColor=null; //default "#ccc"
	
	public float borderWidth=0;
	
	public float padding=5;
	
	public float itemGap=10;
	
	public String textStyle=null; 
	
	public String[] data=null; // default {color: '#aaa'}
	
}
